package se.statemachine.fsm.interfacestyle;

/**
 * @author erik
 * 
 * A turnstile, also called a baffle gate, is a form of gate which 
 * allows one person to pass at a time. 
 *
 */
public class Turnstile {
	
	public boolean lock(){
		System.out.println("turnstile lock");
		return true;
	}
	
	public boolean unlock(){
		System.out.println("turnstile unlock");
		return true;
	}
	
	public boolean thankYou(){
		System.out.println("turnstile thank you!");
		return true;
	}
	
	public boolean alarm(){
		System.out.println("turnstile alarm!");
		return true;
	}
}
